package mt.dummy;

import mt.Order;
import mt.comm.ClientSideMessage;
import mt.comm.ServerSideMessage;

public class ServerSideMessageExample implements ServerSideMessage {
	
	String senderNickname;
	Order order;
	Type type;
	//Exemplo de mensagem so para testes
	public ServerSideMessageExample (String senderNickname, Type type, Order order){
		this.senderNickname = senderNickname;
		this.order=order;
		this.type=type;
	}
	
	@Override
	public Type getType() {
		
		return this.type;
	}

	@Override
	public String getSenderNickname() {
		
		return this.senderNickname;
	}

	@Override
	public Order getOrder() {
		
		return this.order;
	}

}
